package cn.ikun.wy.jdbc;


import java.sql.DriverManager;

public class Appjdbc {
    public static void main(String[] args) throws Exception{
        // import com.mysql.jdbc.Driver
        //加载MySQL的驱动类
        Class.forName("com.mysql.jdbc.Driver");
        String url="jdbc:mysql://localhost:3306/wy666?useSSL=false";
        String username="root";
        String password="wy2wxyan";

        DriverManager.getConnection(url,username,password);
        System.out.println("你还是挺牛逼阿！居然连接成功了~焯！");




    }
}
